package factorymethod;

import factorymethod.ParametricCreator.ProductId;

public class Driver {

	public static void main(String args[]){
		
		ParametricCreator pcreator = new ParametricCreator();
		ProductId[] ids = {ProductId.ProductA, ProductId.ProductB};
		for(ProductId i : ids){
			Product product = pcreator.create(i);
			System.out.println(product.toString());
		}
		
		
	}
	
	
	
}
